package com.sokal.easycare.modules.position.entity;

import org.hibernate.validator.constraints.Length;

import com.sokal.easycare.common.persistence.DataEntity;

/**
 * 岗位Entity
 * @author yangmin
 * @version 2017-04-08
 */
public class DutyService extends DataEntity<DutyService> {
	
	private static final long serialVersionUID = 1L;
	private String serviceOfferId;		// 用于唯一标识服务提供的内部编号
	private String state;		// state

	@Length(min=0, max=42, message="用于唯一标识服务提供的内部编号长度必须介于 0 和 42 之间")
	public String getServiceOfferId() {
		return serviceOfferId;
	}

	public void setServiceOfferId(String serviceOfferId) {
		this.serviceOfferId = serviceOfferId;
	}
	
	@Length(min=0, max=3, message="state长度必须介于 0 和 3 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
}